{template 'common/header'}
<div class="main">
    <ul class="nav nav-tabs">
		<li><a href="{php echo $this->createWebUrl('employee',array('state'=>'2'));}">已审核</a></li>
		<li><a href="{php echo $this->createWebUrl('employee',array('state'=>'1'));}">未审核</a></li>
		<li class="active"><a href="{php echo $this->createWebUrl('employee',array('employeeid' => $employee['id']));}">员工信息</a></li>
    </ul>
</div>       
<style>
.table td span{display:inline-block;margin-top:4px;}
.table td input{margin-bottom:0;}
</style>
<div class="clearfix">
<form class="form-horizontal form" action="" method="post" enctype="multipart/form-data">
    <div class="panel panel-default">
        <div class="panel-heading">信息详情</div>
        <div class="panel-body">
                <input type="hidden" name="memberid" value="{$employee['id']}">
                <div class="form-group">
                    <label class="col-xs-12 col-sm-4 col-md-3 col-lg-2 control-label">员工openid</label>
                    <div class="col-sm-8 col-xs-12">
                        <input type="text" class="form-control" disabled="disabled" placeholder=""  value="{$employee['openid']}">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-12 col-sm-4 col-md-3 col-lg-2 control-label">员工姓名</label>
                    <div class="col-sm-8 col-xs-12">
                        <input type="text" class="form-control"  placeholder="" name="employeename" value="{$employee['employeename']}">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-12 col-sm-4 col-md-3 col-lg-2 control-label">电话</label>
                    <div class="col-sm-8 col-xs-12">
                        <input type="text" class="form-control"  placeholder="" name="tel" value="{$employee['tel']}">
                    </div>
                </div>                
                <div class="form-group">
                    <label class="col-xs-12 col-sm-4 col-md-3 col-lg-2 control-label">接单状态</label>
                    <div class="col-sm-8 col-xs-12">
                        <input type="text" class="form-control" placeholder="" disabled="disabled" value="{if $employee['workstate'] ==1}空闲{elseif  $employee['workstate'] ==2}取件途中{else}还件途中{/if}">
                    </div>
                </div> 
                <div class="form-group">
                    <label class="col-xs-12 col-sm-4 col-md-3 col-lg-2 control-label">已接单数量</label>
                    <div class="col-sm-8 col-xs-12">
                        <input type="text" class="form-control" placeholder=""  name="sumorders" value="{$employee['sumorders']}">
                    </div>
                </div>
               <div class="form-group">

				<label class="col-xs-12 col-sm-4 col-md-3 col-lg-2 control-label">负责区域</label>

				<div class="col-sm-8 col-xs-12">

					{php echo tpl_form_field_category_2level('fuzqy', $parent, $children, $employee['cityid'],  $employee['areaid'])}

				</div>

				

			</div>
                                          
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-12">
            <input name="submit" type="submit" value="信息修改" class="btn btn-primary col-lg-2" style="margin-right: 5px">
        <input type="hidden" name="token" value="{$_W['token']}" />
        </div>
    </div>
</form>
</div>
{template 'common/footer'}